home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP System Restore 3.xpl < prev    next >
Text File  |  2003-11-19  |  1KB  |  51 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="System\System Restore"
  5. "NAME"="System Restore Totally Disabled"
  6. "WARNING"="1"
  7. "VERSION"="1.01"
  8. "OSVERSION"="0000011"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Totally disable System Restore"
  11. "DESCRIPTION 1"="Although you can disable System Restore, the service itself (the EXE file) is still running."
  12. "DESCRIPTION 2"="Some programs can still use it and some of them do so. That way, you still have checkpoints created which use hard disk space."
  13. "DESCRIPTION 3"="If you really want to STOP System Restore, enable this setting."
  14. "DESCRIPTION 4"="WARNING: Some programs might react very strange when they can no longer access the system restore service. Please be careful."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=""
  19.  
  20.  
  21.  
  22. sP1="HKLM\SYSTEM\CurrentControlSet\Services\SRService\Start"
  23.  
  24. Sub Plugin_Initialize 
  25.  i=RegReadValue(sP1)
  26.  if i=4 then SetUIElement 1,true
  27. End Sub
  28.  
  29.  
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sP1,4,2)
  35.  else
  36.     Call RegWriteValue(sP1,2,2)
  37.  end if
  38.  
  39.  
  40.  Restart
  41. End Sub
  42.  
  43.  
  44.  
  45.  
  46. Sub Plugin_Terminate 
  47. End Sub
  48.  
  49.  
  50.  
  51.